# -*- coding: utf-8 -*-
# from odoo import http


# class HgStock(http.Controller):
#     @http.route('/hg_stock/hg_stock/', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('/hg_stock/hg_stock/objects/', auth='public')
#     def list(self, **kw):
#         return http.request.render('hg_stock.listing', {
#             'root': '/hg_stock/hg_stock',
#             'objects': http.request.env['hg_stock.hg_stock'].search([]),
#         })

#     @http.route('/hg_stock/hg_stock/objects/<model("hg_stock.hg_stock"):obj>/', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('hg_stock.object', {
#             'object': obj
#         })
